﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="Informal.aspx.cs" Inherits="Templates_Person_Informal" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="centre">
        <h1>Key People</h1>
        <h2><acms:PostDisplayName runat="server" /></h2>
        <ul class="peopleHead">
            <li><strong>Position</strong>: <acms:TextContentControlDisplay ID="acmsPosition" ControlName="Position" runat="server" /></li>
                <asp:Repeater ID="listServices"  runat="server">
                    <HeaderTemplate>
                        <li>
                            <strong>Services</strong> : 
                    </HeaderTemplate>
                    <ItemTemplate><asp:HyperLink ID="lnkService" Text='<%#Eval("Name")%>' CssClass='<%#Eval("Name", "services{0}") %>' NavigateUrl='<%# AcmsContext.GetUrl(Eval("Name", "~/Services/{0}.aspx"))%>' runat="server" /></ItemTemplate>
                    <SeparatorTemplate>, </SeparatorTemplate>
                    <FooterTemplate>
                        </li>
                    </FooterTemplate>
                </asp:Repeater>
                <asp:Repeater ID="listSectors" visible="false" runat="server">
                    <HeaderTemplate>
                        <li>
                            <strong>Sectors</strong> : 
                    </HeaderTemplate>
                    <ItemTemplate><asp:HyperLink ID="lnkService" Text='<%#Eval("Name")%>' NavigateUrl='<%# AcmsContext.GetUrl(Eval("Name", "~/Sectors/{0}.aspx"))%>' runat="server" /></ItemTemplate>
                    <SeparatorTemplate>, </SeparatorTemplate>
                    <FooterTemplate>
                        </li>
                    </FooterTemplate>
                </asp:Repeater>
                <li id="liDownload1" runat="server">
                    <strong>Download</strong> :
                    <acms:PdfContentControlDisplay ID="acmsDownload1" CssClass="ico_pdf" ControlName="Download 1" runat="server" />
                </li>
                <li id="liDownload2" runat="server">
                    <strong>Download</strong> :
                    <acms:PdfContentControlDisplay ID="acmsDownload2" CssClass="ico_pdf" ControlName="Download 2" runat="server" />
                </li>
        </ul>
        <acms:HtmlContentControlDisplay ID="acmsMainHtml" ControlName="Informal Text" runat="server" />
        <div>
            <div style="text-align:center;float:left;width:49%">
                <acms:ImageContentControlDisplay ID="imgLeft" ControlName="Informal Image 1" RenderWidth="200" runat="server" />
            </div>
            <div style="text-align:center;float:left;width:49%">
                <acms:ImageContentControlDisplay ID="imgRight" ControlName="Informal Image 2" RenderWidth="200" runat="server" />
            </div>
        </div>
        <div style="clear:both"></div>
    </div>
    <div id="rightCol">
        <div class="personRcol">
            <div id="divImage" class="module center" runat="server">
                <acms:ImageContentControlDisplay ID="acmsImage" ControlName="Main Picture" RenderWidth="260" RenderHeight="300" runat="server" />
            </div>
            <div class="module">
                <acms:PostLink ID="lnkBack" Text="Back" ToolTip="Back" runat="server" />
            </div>
            <div class="module">
                <h3 class="moduleTitle">Contact Information</h3>
                <ul>
                    <li class="ico_vcard">
                        <acms:PostLink ID="PostLink1" TemplateName="VCard" Text="V-Card" ToolTip="V-Card" runat="server" />
                    </li>
                    <li id="liPhone" class="ico_phone" runat="server"><acms:TextContentControlDisplay ID="acmsTel" ControlName="Tel" runat="server" /></li>
                    <li id="liEmail" class="ico_mail" runat="server"><acms:EmailContentControlDisplay ID="acmsEmail" ControlName="Email" runat="server" /></li>
                </ul>
            </div>
            <div style="clear:both"></div>
        </div>
    </div>
</asp:Content>

